package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: 2019-10-12_userCenter
 * @description: 添加角色请求参数
 * @author: DaiGaoLe
 * @create: 2019-10-28 17:08
 **/
@Data
@ApiModel(value = "添加角色请求参数", description = "添加角色请求参数")
public class AddRoleInfoReq extends BaseReqObj {
    private static final long serialVersionUID = -9050631893489025623L;
    /**
     * 角色名称
     */
    @NotEmpty(message = "角色名称不能为空")
    @ApiModelProperty(value = "角色名称", notes = "角色名称", dataType = "String", required = true)
    private String roleName;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述", notes = "角色描述", dataType = "String")
    private String describeStr;

    @ApiModelProperty(value = "业态公司id", notes = "业态公司id")
    private Integer formatId;
}
